<div class="control-group">
    <a class="btn" href="<?php echo $this->url(array(
        'module'        => 'admin',
        'controller'    => 'groups',
        'action'        => 'add'
    ), 'default', true); ?>"><i class="icon-plus"></i>&nbsp;<?php echo $this->translate('group_new'); ?></a>
</div>
<table class="table table-bordered">
    <tr class="table-header">
        <th>#</th>
        <th><?php echo $this->translate('group_name'); ?></th>
        <th><?php echo $this->translate('created_at'); ?></th>
        <th><?php echo $this->translate('action'); ?></th>
    </tr>
    <?php foreach ($this->entities as $group): ?> 
    <tr>
        <td><?php echo $group->id; ?></td>
        <td><?php echo $this->escape($group->name); ?></td>
        <td><?php echo $this->date($group->created_at, Ext_View_Helper_Date::FORMAT_DDMMYYYY); ?></td>
        <td>
            <a href="" title="<?php echo $this->translate('edit'); ?>"><i class="icon-pencil"></i></a>
            <a href="" title="<?php echo $this->translate('delete'); ?>"><i class="icon-trash"></i></a>
        </td>
    </tr>
    <?php endforeach; ?> 
</table>
<?php echo $this->paginationControl($this->entities, 'Sliding', '_partials/paginator.phtml'); ?> 